package org.example.top41_80;

public class main42 {
    //用栈实现队列
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.push(1);
        myQueue.push(2);
        myQueue.push(3);
        myQueue.push(4);
        int pop = myQueue.pop();
        System.out.println(pop);
    }
}
